package org.example.pattern.chain.handler;

/**
 * beyond u self and trust u self.
 *
 * @Author: lbc
 * @Date: 2023-05-12 11:22
 * @email: 594599620@qq.com
 * @Description: oh my god！ niu bi...
 */
public class BlacklistGatewayHandler extends GatewayHandler {

    @Override
    public void check() {
        System.out.println("第二步，黑名单拦截校验");
        if (this.next != null) {
            this.next.check();
        }
    }

}
